//
//  PhotoClass.h
//  MierMilitary
//
//  Created by dllo on 15/11/9.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TopModel.h"
typedef enum : NSUInteger {
    defaults,                 // 默认scrollView的滚动效果
    cube,                     // 立方体翻滚效果
    moveIn,                   // 新视图移到旧视图上面
    reveal,                   // 显露效果(将旧视图移开,显示下面的新视图)
    fade,                     // 交叉淡化过渡(不支持过渡方向)
    pageCurl,                 // 向上翻一页
    pageUnCurl,               // 向下翻一页
    suckEffect,               // 收缩效果，类似系统最小化窗口时的神奇效果(不支持过渡方向)
    rippleEffect,             // 滴水效果,(不支持过渡方向)
    oglFlip,                  // 上下左右翻转效果
    rotate,                   // 旋转效果
    push,                     // 新视图把旧视图推出去
    cameraIrisHollowOpen,     // 相机镜头打开效果(不支持过渡方向)
    cameraIrisHollowClose,    // 相机镜头关上效果(不支持过渡方向)
} CarouselType;

@protocol PicPushWebViewDelegate <NSObject>

- (void)picPushWebView:(NSString *)strTitle withArrayId:(NSString *)strId;

- (void)pushNextViewController:(NSString *)strTitle withArrayId:(NSString *)strId withTopModel:(TopModel *)topModel;

@end

@interface PhotoClass : UIView<UIScrollViewDelegate>

@property (nonatomic) CarouselType carouseType;

@property(nonatomic, retain) NSMutableArray *array;
@property(nonatomic, retain) NSMutableArray *arrayTitle;
@property(nonatomic, retain) NSMutableArray *arrayId;
@property(nonatomic, retain) UIScrollView *scrollView;
@property(nonatomic, retain) UILabel *label;
@property(nonatomic, retain) UIPageControl *page;
@property(nonatomic, assign) NSInteger num;
@property(nonatomic, retain) NSTimer *time;
@property (nonatomic, retain) NSMutableArray *topModelArray;
@property (nonatomic, copy) NSString *kind;

@property(nonatomic, assign) id<PicPushWebViewDelegate>delegate;

-(instancetype) initWithFrame:(CGRect)frame withArray:(NSArray *)array  withArrayTitle:(NSArray *)arrayTitle withArrayId:(NSArray *)arrayId withTopModelArray:(NSMutableArray *)topModelArray;

@end
    